<?php

namespace App\Http\Controllers\DesignPattern\Creational\Structural;

use App\Model\DesignPattern\Creational\Structural\Bridge\About;
use App\Model\DesignPattern\Creational\Structural\Bridge\DarkTheme;
use Illuminate\Http\Request;
use App\Http\Controllers\Controller;

class BridgeController extends Controller
{
    public function index()
    {
        $res = new About(new DarkTheme());
        return $res->getContent();
    }
}
